module.exports = {
    proxy: {
        '/api': {
            target: 'http://localhost:2443',
            changeOrigin: true,  // 允许跨域
            rewrite: path => path.replace(/^\/api/, '')
        }
    },

}
